package com.fujimana.android.manacode.converter;

import java.io.IOException;

public abstract class TokenMatcher {
	
	private Options options;
	
	protected TokenMatcher(Options options) {
		this.options = options;
	}

	public Options getOptions() {
		return options;
	}

	public abstract boolean isMatch(String token, TokenAccessor accessor) throws IOException ;
	
	public abstract String getMatchString();
	
	public abstract Token getToken(String token);
}
